DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / C1SelectDataCollection<S,T> Class / C1SelectDataCollection<S,T> Constructor / C1SelectDataCollection<S,T> Constructor(IEnumerable,Func<IReadOnlyList<S>,Int32,T>)
The source.
Select function which converts a source item into an item of this collection.

In This Topic
    C1SelectDataCollection<S,T> Constructor(IEnumerable,Func<IReadOnlyList<S>,Int32,T>)
    In This Topic
    Initializes a new instance of the C1SelectDataCollection<S,T> class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal source As IEnumerable, _
       ByVal select As Func(Of IReadOnlyList(Of S),Integer,T) _
    )
    public C1SelectDataCollection<S,T>( 
       IEnumerable source,
       Func<IReadOnlyList<S>,int,T> select
    )

    Parameters

    source
    The source.
    select
    Select function which converts a source item into an item of this collection.
    See Also